// Created by Administrator on 2015/11/30.

extends setting
block setting_content
    if(message)
        div.text-center #{message}
    else
        if(error_message)
            p.error #{error_message}
        form.form-horizontal(role='form' action='/user/private/#{user.nick}/update/password' method='POST')
            .form-group
                label.col-sm-3.control-label(for="name")  旧密码：
                .col-sm-4
                    input.form-control(type='password' name='old_pwd')
            .form-group
                label.col-sm-3.control-label(for="name")  新密码：
                .col-sm-4
                    input.form-control(type='password' name='new_pwd')
            .form-group
                .col-sm-offset-3.col-sm-9
                    button.btn.btn-default(type="submit") 提交